import { defineStore } from 'pinia';
import type { UserInfoStoreType, UserInfoType } from '@/core/models';

export const useUserInfoStore = defineStore('userInfo', {
	state: () : UserInfoStoreType => {
		return {
			userInfo: {},
		};
	},
	actions: {
		setUserInfo(data : UserInfoType) {
			this.userInfo = data;
		},
	},
});